package com.hongyou.user.dao.impl;

import java.util.ArrayList;
import java.util.List;

import com.hongyou.user.dao.IUserDao;
import com.hongyou.user.module.User;

public class UserDaoImpl implements IUserDao {

	@Override
	public User getUserById(String userId) {
		User user = new User();
		user.setAddress("北京 海淀 上地");
		user.setAge(Integer.valueOf(20));
		user.setEmail("rkikbs@163.com");
		user.setName("张三");
		user.setPasswd("123456");
		user.setSex("男");
		user.setUserId(Integer.valueOf(2011));
		return user;
	}

	@Override
	public List<User> getUsers() {
		List<User> userList = new ArrayList<User>();
		User user = new User();
		userList.add(user);
		return userList;
	}

}
